import { defineStore } from 'pinia';
import {UserInfosState} from "@/types/router.d.ts";

export const useUserInfo = defineStore({
    id: 'userInfo',
    state: (): UserInfo<any> => ({
        userInfos: {
            userName: '',
            photo: '',
            time: 0,
            roles: [],
            authBtnList: [],
        },
    }),

    actions: {

    },
});
